require 'fileutils'

commons = Dir.glob("C:/dev/src/RhinoCommons/rhino-commons/Rhino.Commons/bin/Debug/*.dll") +
		   ["C:/dev/src/RhinoCommons/rhino-commons/Rhino.Commons.ActiveRecord/bin/Debug/Castle.ActiveRecord.dll",
			"C:/dev/src/RhinoCommons/rhino-commons/Rhino.Commons.ActiveRecord/bin/Debug/Castle.Components.Validator.dll",
			"C:/dev/src/RhinoCommons/rhino-commons/Rhino.Commons.ActiveRecord/bin/Debug/Rhino.Commons.ActiveRecord.dll" ]
			
dependencies =
{
	"C:/dev/src/Zambezi/SharedLib/rhino.commons" =>	commons,
	"C:/dev/src/Zambezi/SharedLib/rhino.mocks" => ["C:/dev/src/RhinoCommons/rhino-mocks/Rhino.Mocks/bin/debug/Rhino.Mocks.dll",
												   "C:/dev/src/RhinoCommons/rhino-mocks/Rhino.Mocks/bin/debug/Rhino.Mocks.xml"],
	"C:/dev/src/Zambezi/SharedLib/castle" => Dir.glob("C:/dev/src/castle/build/net-2.0/debug/*.dll")
}


dependencies.each{ |to, from| 
	FileUtils.cp_r from, to
}